package _18define;

import java.util.Date;

public class Demo {
    public static void main(String[] args) {
        long l = System.currentTimeMillis();
        System.out.println(l);
        Date date = new Date(l);
        System.out.println(date);
        long l2=1720250586843L;
        Date date1 = new Date(l2);
        System.out.println(date1);
        long time= date.getTime();
        boolean after= date.after(date1);
        System.out.println("after="+after);
    }
}
